<!--side-->        
        <div id="left-side">
        	<div class="box1">
            	<div class="user-face"><img src="<&$web_site&>/<&$user.thumb_photo&>" /></div>
            	<div class="user-name"><a href="/user/detail/uid/<&$user.id&>"><&$objConfigModel->genUsername($user.firstname, $user.lastname)&></a></div>
                <&if $profile_complete&>
                <div class="user-complete"><a href="/user/basic">Your profile is <span><&$profile_complete&>%</span> complete</a></div>
                <&/if&>
                <&if $cur_user&>
                
            	<div class="user-profile"><a href="<&$web_site&>/user/basic">Edit Profile</a><a href="<&$web_site&>/user/detail/uid/<&$user.id&>">View Profile</a></div>
                <&/if&>
            	<div class="user-address"><&$objConfigModel->getArea($user.area_id)&></div>
            </div>
            <div class="box2">
            	<strong>Activity Stats</strong>
                <&if $user.user_type != 1&><p>Goals posted<span><&$user.goals_posted_cnt&></span></p><&/if&>
                <p>Award<span><&$user.goals_awarded_cnt&></span></p>
               <!-- <p>Total Prize<span>$<&$user.total_prize&></span></p> -->
                <&if $user.user_type != 1&><p>My cheerleaders<span><&$user.cheerleaders_cnt&></span></p><&/if&>
                <p>People I am cheering<span><&$user.cheering_cnt&></span></p>
            </div>
            <&if $user.user_type == 2&>
           	<div class="box3">
            	<strong>Training Profile</strong>
                <p class="str">General fitness goals</p>
                <p><&$user.gen_goals&></p>
                <p class="str">Training Activities interested</p>
                <p><&$user.interested_activities&></p>
                <p class="str">My age</p>
                <p><&$objConfigModel->getAge($user.age_id)&></p>
                <p class="str">Body type now</p>
                <p><&$objConfigModel->getBody($user.body_id)&></p>
            </div>
            <&else&>
            <div class="box3">
            	<strong>Trainer Profile</strong>
                <p class="str">Experiences(years) </p>
                <p><&$objConfigModel->getExperience($user.experience_id)&></p>
                <p class="str">Service Provided </p>
                <p><&$objConfigModel->getTrainingservice($user.trainingservice_id)&></p>
                
                <p class="str">Training Activities interested</p>
                <p><&$user.interested_activities&></p>
                <p class="str">Credentials</p>
                <p> <&$user.credentials&></p>
                <p class="str">Education</p>
                <p><&$objConfigModel->getEdulevel($user.edulevel_id)&>, <&$user.school&>, <&$user.major&></p>
                <p class="str">Gender</p>
                <p><&$objConfigModel->getGender($user.gender)&></p>
            </div>
            <&/if&>
            <&if $cur_user&>
            <div class="box4">
            	<strong>My rank among friends</strong>
                <&foreach item=friend from=$friend_list name=friend_list&>
                <p><label><&$smarty.foreach.friend_list.iteration&></label><img src="<&$web_site&>/<&$friend.thumb_photo&>" /><a href="<&$web_site&>/user/detail/uid/<&$friend.id&>"><&if $user.id == $friend.id&><&$friend.firstname&> <&$friend.lastname&><&else&><&$objConfigModel->genUsername($friend.firstname, $friend.lastname)&><&/if&></a></p>
                <&/foreach&>

            </div>
            <&/if&>
        </div>
<!--side_over-->